//package com.zmn.plat.dubbo.interfaces.company;
//
//import javax.validation.Valid;
//import javax.validation.constraints.NotNull;
//
//import com.zmn.common.dto2.ResponseDTO;
//import com.zmn.plat.common.dto.company.CompanyDRO;
//
//import com.zmn.plat.common.dto.company.CompanyModifyDIO;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import io.swagger.annotations.ApiParam;
//
///**
// * 公司服务接口
// *
// * @author duanzuocai
// * @version v1.0
// * @since 2018/10/18 9:15
// */
//@Api(value = "公司服务", tags = {"公司"})
//public interface BaseCompanyModifyRemoteService {
//
//    /**
//     * 添加公司：基本信息
//     *
//     * @param company
//     * @return 新增公司ID
//     * @see BaseCompanyModifyRemoteService#addCompanyByDIO(com.zmn.plat.common.dto.company.CompanyModifyDIO)
//     */
//    @Deprecated
//    @ApiOperation(value = "添加公司", response = ResponseDTO.class, notes = "添加公司", tags = {"添加公司"})
//    Integer addCompany(@NotNull(message = "入参不能为空") @Valid @ApiParam(value = "入参", required = true) CompanyDRO company);
//
//    /**
//     * 添加公司：根据PlatEnum配置同步生成组织架构
//     *
//     * @param company
//     * @return 新增公司ID
//     * @see BaseCompanyModifyRemoteService#addCompanyAndOrganByDIO(com.zmn.plat.common.dto.company.CompanyModifyDIO)
//     */
//    @Deprecated
//    @ApiOperation(value = "添加公司", response = ResponseDTO.class, notes = "根据PlatEnum配置同步生成组织架构", tags = {"添加公司"})
//    Integer addCompanyAndOrgan(@NotNull(message = "入参不能为空") @Valid @ApiParam(value = "入参", required = true) CompanyDRO company);
//
//    /**
//     * 修改公司：基本信息
//     *
//     * @param company
//     * @return
//     * @see BaseCompanyModifyRemoteService#modifyCompanyByDIO(com.zmn.plat.common.dto.company.CompanyModifyDIO)
//     */
//    @Deprecated
//    @ApiOperation(value = "修改公司", response = ResponseDTO.class, notes = "修改公司", tags = {"修改公司"})
//    boolean modifyCompany(@NotNull(message = "入参不能为空") @Valid @ApiParam(value = "入参", required = true) CompanyDRO company);
//
//
//
//    /**
//     * 添加公司：基本信息
//     *
//     * @param company
//     * @return 新增公司ID
//     */
//    @ApiOperation(value = "添加公司", response = ResponseDTO.class, notes = "添加公司", tags = {"添加公司"})
//    Integer addCompanyByDIO(@NotNull(message = "入参不能为空") @Valid @ApiParam(value = "入参", required = true) CompanyModifyDIO company);
//
//    /**
//     * 添加公司：根据PlatEnum配置同步生成组织架构
//     *
//     * @param company
//     * @return 新增公司ID
//     */
//    @ApiOperation(value = "添加公司", response = ResponseDTO.class, notes = "根据PlatEnum配置同步生成组织架构", tags = {"添加公司"})
//    Integer addCompanyAndOrganByDIO(@NotNull(message = "入参不能为空") @Valid @ApiParam(value = "入参", required = true) CompanyModifyDIO company);
//
//    /**
//     * 修改公司：基本信息
//     *
//     * @param company
//     * @return
//     */
//    @ApiOperation(value = "修改公司", response = ResponseDTO.class, notes = "修改公司", tags = {"修改公司"})
//    boolean modifyCompanyByDIO(@NotNull(message = "入参不能为空") @Valid @ApiParam(value = "入参", required = true) CompanyModifyDIO company);
//}
